<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta content="en" name="language">
	<title>GraphicsMagick Supported Formats</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
	<link media="screen" href="docutils-articles.css" type="text/css" rel="stylesheet">

</head>

<body>

<div class="banner">
<img src="images/gm-107x76.png" alt="GraphicMagick logo" width="107" height="76" />
<span class="title">GraphicsMagick</span>
<form action="http://www.google.com/search">
  <input type="hidden" name="domains" value="www.graphicsmagick.org" />
  <input type="hidden" name="sitesearch" value="www.graphicsmagick.org" />
<span class="nowrap"><input type="text" name="q" size="25" maxlength="255" />&nbsp;<input type="submit" name="sa" value="Search" /></span>
</form>
</div>


<div class="navmenu">
<ul>
  <li><a href="index.html">Home</a></li>
  <li><a href="project.html">Project</a></li>
  <li><a href="download.html">Download</a></li>
  <li><a href="README.html">Install</a></li>
  <li><a href="Hg.html">Source</a></li>
  <li><a href="NEWS.html">News</a> </li>
  <li><a href="utilities.html">Utilities</a></li>
  <li><a href="programming.html">Programming</a></li>
  <li><a href="reference.html">Reference</a></li>
</ul>
</div>

<main id="graphicsmagick-supported-formats">
<h1 class="title">GraphicsMagick Supported Formats</h1>
<!-- -*- mode: rst -*- -->
<!-- This text is in reStucturedText format, so it may look a bit odd. -->
<!-- See http://docutils.sourceforge.net/rst.html for details. -->
<p>GraphicsMagick uses an ASCII string known as &quot;magick&quot; (e.g. &quot;GIF&quot;) to
identify file formats, algorithms acting as formats, built-in images, and
embedded profile types. After a file has been read or &quot;pinged&quot;, the
associated magick string is stored in the &quot;magick&quot; member of the Image
structure, and is reported in the default output of 'gm identify'.</p>
<p>GraphicsMagick supports reading over 92 major file formats (not including
sub-formats). The following table provides a summary of the supported
image formats.</p>
<table>
<caption>Supported Image Formats</caption>
<colgroup>
<col style="width: 14%" />
<col style="width: 6%" />
<col style="width: 28%" />
<col style="width: 52%" />
</colgroup>
<tbody>
<tr><td><p>Format</p></td>
<td><p>Mode</p></td>
<td><p>Description</p></td>
<td><p>Notes</p></td>
</tr>
<tr><td><p><a class="reference external" href="https://fileinfo.com/extension/aai">AAI</a></p></td>
<td><p>RW</p></td>
<td><p>Dune HD AAI Image (aka
Auburn Animation Image)</p></td>
<td><p>Format used by Dune HD media players to display
images with transparency, such as icons for
Internet radio stations or channels.</p></td>
</tr>
<tr><td><p>ART</p></td>
<td><p>RW</p></td>
<td><p>PFS: 1st Publisher</p></td>
<td><p>Format originally used on the Macintosh
(MacPaint?) and later used for PFS: 1st
Publisher clip art.</p></td>
</tr>
<tr><td><p><a class="reference external" href="https://aomediacodec.github.io/av1-avif/">AVIF</a></p></td>
<td><p>R</p></td>
<td><p>AVIF Image File Format</p></td>
<td><p>AV1 in a _HEIF container.  AVIF is supported
via libheif if it supports AVIF decode.</p></td>
</tr>
<tr><td><p>AVS</p></td>
<td><p>RW</p></td>
<td><p>AVS X image</p></td>
<td></td>
</tr>
<tr><td><p><a class="reference external" href="http://www.fileformat.info/format/bmp/egff.htm">BMP</a></p></td>
<td><p>RW</p></td>
<td><p>Microsoft Windows bitmap</p></td>
<td></td>
</tr>
<tr><td><p><a class="reference external" href="http://www.fileformat.info/format/cals/egff.htm">CALS</a></p></td>
<td><p>R</p></td>
<td><p>Continuous Acquisition
and Life-cycle Support
Type 1 image</p></td>
<td><p>Specified in MIL-R-28002 and MIL-PRF-28002.
Standard blueprint archive format as used by the
US military to replace microfiche.</p></td>
</tr>
<tr><td><p><a class="reference external" href="motion-picture.html">CIN</a></p></td>
<td><p>R</p></td>
<td><p>Kodak Cineon</p></td>
<td><p>Kodak Cineon Log format (4.5 draft).
Precursor to SMPTE <a class="reference external" href="motion-picture.html">DPX</a></p></td>
</tr>
<tr><td><p><a class="reference external" href="http://www.fileformat.info/format/cgm/egff.htm">CGM</a></p></td>
<td><p>R</p></td>
<td><p>Computer Graphics
Metafile</p></td>
<td><p>Requires <a class="reference external" href="http://www.agocg.ac.uk/train/cgm/ralcgm.htm">ralcgm</a> to render CGM files.</p></td>
</tr>
<tr><td><p>CMYK</p></td>
<td><p>RW</p></td>
<td><p>Raw cyan, magenta,
yellow, and black samples</p></td>
<td><p>Use -size, -depth, -endian, and -interlace to
specify the image width, height, depth, byte
order, and interlace.</p></td>
</tr>
<tr><td><p>CUR</p></td>
<td><p>R</p></td>
<td><p>Microsoft Cursor Icon</p></td>
<td></td>
</tr>
<tr><td><p>CUT</p></td>
<td><p>R</p></td>
<td><p>DR Halo</p></td>
<td></td>
</tr>
<tr><td><p>DCM</p></td>
<td><p>R</p></td>
<td><p>Digital Imaging and
Communications in
Medicine (<a class="reference external" href="http://dicom.nema.org/">DICOM</a>) image</p></td>
<td><p>Used by the medical community for images like
X-rays. See the NEMA <a class="reference external" href="http://dicom.nema.org/">DICOM</a> web site for more
information. <a class="reference external" href="http://dicom.nema.org/">DICOM</a> is the basis for the
<a class="reference external" href="http://www.geinspectiontechnologies.com/en/products/software/diconde.html">DICONDE</a> format.</p></td>
</tr>
<tr><td><p>DCX</p></td>
<td><p>RW</p></td>
<td><p>ZSoft IBM PC multi-page
Paintbrush image</p></td>
<td></td>
</tr>
<tr><td><p>DIB</p></td>
<td><p>RW</p></td>
<td><p>Microsoft Windows Device
Independent Bitmap</p></td>
<td><p>DIB is a BMP file without the BMP header. Used
to support embedded images in compound formats
like WMF.</p></td>
</tr>
<tr><td><p><a class="reference external" href="motion-picture.html">DPX</a></p></td>
<td><p>RW</p></td>
<td><p>Digital Moving Picture
Exchange</p></td>
<td><p>RGB and grayscale are fully supported at 1, 8,
10, 12, and 16 bits as per the <a class="reference external" href="http://www.smpte.org/">SMPTE</a> 268M-2003
(V2.0) specification. This includes support for
images stored in a planar (multi-element)
configuration and Cineon Log RGB. Rec. 601 and
709 YCbCr are fully supported with 4:4:4 and
4:2:2 subsampling. <a class="reference external" href="motion-picture.html">DPX</a> is commonly used to
store image frames in film and HDTV production.</p></td>
</tr>
<tr><td><p>EMF</p></td>
<td><p>R</p></td>
<td><p>Microsoft Enhanced
Metafile (32-bit)</p></td>
<td><p>Only available under Microsoft Windows.</p></td>
</tr>
<tr><td><p>EPDF</p></td>
<td><p>RW</p></td>
<td><p>Encapsulated Portable
Document Format</p></td>
<td></td>
</tr>
<tr><td><p>EPI</p></td>
<td><p>RW</p></td>
<td><p>Adobe Encapsulated
PostScript Interchange
format</p></td>
<td><p>Requires <a class="reference external" href="http://pages.cs.wisc.edu/~ghost/">Ghostscript</a> to read.</p></td>
</tr>
<tr><td><p>EPS</p></td>
<td><p>RW</p></td>
<td><p>Adobe Encapsulated
PostScript</p></td>
<td><p>Requires <a class="reference external" href="http://pages.cs.wisc.edu/~ghost/">Ghostscript</a> to read.</p></td>
</tr>
<tr><td><p>EPS2</p></td>
<td><p>W</p></td>
<td><p>Adobe Level II
Encapsulated PostScript</p></td>
<td><p>Requires <a class="reference external" href="http://pages.cs.wisc.edu/~ghost/">Ghostscript</a> to read.</p></td>
</tr>
<tr><td><p>EPS3</p></td>
<td><p>W</p></td>
<td><p>Adobe Level III
Encapsulated PostScript</p></td>
<td><p>Requires <a class="reference external" href="http://pages.cs.wisc.edu/~ghost/">Ghostscript</a> to read.</p></td>
</tr>
<tr><td><p>EPSF</p></td>
<td><p>RW</p></td>
<td><p>Adobe Encapsulated
PostScript</p></td>
<td><p>Requires <a class="reference external" href="http://pages.cs.wisc.edu/~ghost/">Ghostscript</a> to read.</p></td>
</tr>
<tr><td><p>EPSI</p></td>
<td><p>RW</p></td>
<td><p>Adobe Encapsulated
PostScript Interchange
format</p></td>
<td><p>Requires <a class="reference external" href="http://pages.cs.wisc.edu/~ghost/">Ghostscript</a> to read.</p></td>
</tr>
<tr><td><p>EPT</p></td>
<td><p>RW</p></td>
<td><p>Adobe Encapsulated
PostScript Interchange
format with <a class="reference external" href="http://www.simplesystems.org/libtiff/">TIFF</a> preview</p></td>
<td><p>Requires <a class="reference external" href="http://pages.cs.wisc.edu/~ghost/">Ghostscript</a> to read.</p></td>
</tr>
<tr><td><p>FAX</p></td>
<td><p>RW</p></td>
<td><p>Group 3 FAX</p></td>
<td><p>Note that FAX machines use non-square pixels
which are 1.5 times wider than they are tall but
computer displays use square pixels, so FAX
images may appear to be narrow unless they are
explicitly resized using a resize specification
of &quot;150x100%&quot;. Please note that this is <em>not</em> a
<a class="reference external" href="http://www.simplesystems.org/libtiff/">TIFF</a> format.</p></td>
</tr>
<tr><td><p>FIG</p></td>
<td><p>R</p></td>
<td><p>FIG graphics format</p></td>
<td><p>Requires TransFig.</p></td>
</tr>
<tr><td><p><a class="reference external" href="http://www.cv.nrao.edu/fits/">FITS</a></p></td>
<td><p>RW</p></td>
<td><p>Flexible Image Transport
System</p></td>
<td></td>
</tr>
<tr><td><p>FPX</p></td>
<td><p>RW</p></td>
<td><p>FlashPix Format</p></td>
<td><p>Requires FlashPix SDK.</p></td>
</tr>
<tr><td><p><a class="reference external" href="http://www.fileformat.info/format/gif/egff.htm">GIF</a></p></td>
<td><p>RW</p></td>
<td><p>CompuServe Graphics
Interchange Format</p></td>
<td><p>8-bit RGB PseudoColor with up to 256 palette
entries. Specify the format &quot;GIF87&quot; to write the
older version 87a of the format.</p>
<p>The PNG format provides a superior set of
features to GIF. Consider using PNG format
rather than GIF if clients are able to read PNG.</p>
</td>
</tr>
<tr><td><p>GRAY</p></td>
<td><p>RW</p></td>
<td><p>Raw gray samples</p></td>
<td><p>Use -size, -depth, and -endian to specify the
image width, height, depth, and byte order.</p></td>
</tr>
<tr><td><p>GRAYA</p></td>
<td><p>RW</p></td>
<td><p>Raw gray samples + alpha</p></td>
<td><p>Use -size, -depth, and -endian to specify the
image width, height, depth, and byte order.</p></td>
</tr>
<tr><td><p><a class="reference external" href="https://en.wikipedia.org/wiki/High_Efficiency_Image_File_Format">HEIF</a></p></td>
<td><p>R</p></td>
<td><p>High Efficiency Image
File Format (with
h.265/HEVC encoding)</p></td>
<td><p>HEIF is a container format supporting multiple
codecs.  HEIF with h.265/HEVC encoding
is supported via libheif and libde265.</p></td>
</tr>
<tr><td><p>HPGL</p></td>
<td><p>R</p></td>
<td><p>HP-GL plotter language</p></td>
<td><p>Requires <a class="reference external" href="http://www.gnu.org/software/hp2xx/hp2xx.html">hp2xx</a> 3.2.0 or later</p></td>
</tr>
<tr><td><p>HTML</p></td>
<td><p>RW</p></td>
<td><p>Hypertext Markup Language
with a client-side image
map</p></td>
<td><p>Also known as &quot;HTM&quot;. Requires html2ps to read.</p></td>
</tr>
<tr><td><p>HRZ</p></td>
<td><p>RW</p></td>
<td><p>Slow-Scan Television
(SSTV)</p></td>
<td><p>This a format used when an image is transmitted
over amateur radio using audio equipment.</p></td>
</tr>
<tr><td><p>ICO</p></td>
<td><p>R</p></td>
<td><p>Microsoft icon</p></td>
<td><p>Also known as &quot;ICON&quot;.</p></td>
</tr>
<tr><td><p><a class="reference external" href="http://www.jpeg.org/">JBIG</a></p></td>
<td><p>RW</p></td>
<td><p>Joint Bi-level Image
experts Group file
interchange format</p></td>
<td><p>Also known as &quot;BIE&quot; and &quot;JBG&quot;. Requires
<a class="reference external" href="http://www.cl.cam.ac.uk/~mgk25/jbigkit/">jbigkit</a> 1.0 or later</p></td>
</tr>
<tr><td><p><a class="reference external" href="http://www.libmng.com/">JNG</a></p></td>
<td><p>RW</p></td>
<td><p><a class="reference external" href="http://www.jpeg.org/">JPEG</a> Network Graphics</p></td>
<td><p><a class="reference external" href="http://www.jpeg.org/">JPEG</a> in a PNG-style wrapper with transparency.
Requires libjpeg and libpng-1.0.2 or later,
libpng-1.2.5 or later recommended.</p></td>
</tr>
<tr><td><p>JP2</p></td>
<td><p>RW</p></td>
<td><p>JPEG-2000 JP2 File Format
Syntax</p></td>
<td><p>Requires <a class="reference external" href="http://www.ece.uvic.ca/~mdadams/jasper/">jasper</a> 1.600.0 or later</p></td>
</tr>
<tr><td><p>JPC</p></td>
<td><p>RW</p></td>
<td><p>JPEG-2000 Code Stream
Syntax</p></td>
<td><p>Requires <a class="reference external" href="http://www.ece.uvic.ca/~mdadams/jasper/">jasper</a> 1.600.0 or later</p></td>
</tr>
<tr><td><p><a class="reference external" href="http://www.jpeg.org/">JPEG</a></p></td>
<td><p>RW</p></td>
<td><p>Joint Photographic
Experts Group JFIF format</p></td>
<td><p>Requires jpegsrc.v6b.tar.gz or later</p></td>
</tr>
<tr><td><p><a class="reference external" href="https://github.com/libjxl/libjxl/">JXL</a></p></td>
<td><p>RW</p></td>
<td><p>JPEG XL</p></td>
<td><p>Requires JPEG XL 0.7 or later</p></td>
</tr>
<tr><td><p>MAN</p></td>
<td><p>R</p></td>
<td><p>Unix reference manual
pages</p></td>
<td><p>Requires that GNU groff and Ghostcript are
installed.</p></td>
</tr>
<tr><td><p>MAT</p></td>
<td><p>RW</p></td>
<td><p>MATLAB image format</p></td>
<td><p>Coming from <a class="reference external" href="http://www.mathworks.com/">MathWorks</a> for storing matrices.
Currently supported types are 2D matrices: byte,
word, double, complex and 3D matrices containing
RGB [x*y*3] byte, word.</p></td>
</tr>
<tr><td><p><a class="reference external" href="miff.html">MIFF</a></p></td>
<td><p>RW</p></td>
<td><p>Magick image file format</p></td>
<td><p>ImageMagick's lossless image format (with
ASCII header) which ensures that no image
attributes understood by ImageMagick or
GraphicsMagick are lost.</p></td>
</tr>
<tr><td><p>MONO</p></td>
<td><p>RW</p></td>
<td><p>Bi-level bitmap in
least-significant-byte
first order</p></td>
<td></td>
</tr>
<tr><td><p><a class="reference external" href="http://www.libmng.com/">MNG</a></p></td>
<td><p>RW</p></td>
<td><p>Multiple-image Network
Graphics</p></td>
<td><p>Requires libpng-1.0.2 or later, libpng-1.2.5 or
later recommended.</p></td>
</tr>
<tr><td><p><a class="reference external" href="http://www.mpeg.org/">MPEG</a></p></td>
<td><p>RW</p></td>
<td><p>Motion Picture Experts
Group file interchange
format (version 1)</p></td>
<td><p>Requires mpeg2vidcodec_v12.tar.gz.</p></td>
</tr>
<tr><td><p><a class="reference external" href="http://www.mpeg.org/">M2V</a></p></td>
<td><p>RW</p></td>
<td><p>Motion Picture Experts
Group file interchange
format (version 2)</p></td>
<td><p>Requires mpeg2vidcodec_v12.tar.gz.</p></td>
</tr>
<tr><td><p>MPC</p></td>
<td><p>RW</p></td>
<td><p>Magick Persistent Cache
image file format</p></td>
<td><p>The native &quot;in-memory&quot; GraphicsMagick
uncompressed file format. This file format is
identical to that used by Open ImageMagick to
represent images in memory and is read in &quot;zero
time&quot; via memory mapping. The MPC format is not
portable and is not suitable as an archive
format. It is suitable as an intermediate format
for high-performance image processing.</p>
<p>The MPC format requires two files to support one
image. When writing the MPC format, a file with
extension &quot;.mpc&quot; is used to store information
about the image, while a file with extension
<span class="docutils literal">.cache</span> stores the image pixels. The storage
space required by a MPC image (or an image in
memory) may be calculated by the equation
(QuantumDepth*Rows*Columns*5)/8.</p>
</td>
</tr>
<tr><td><p>MSL</p></td>
<td><p>RW</p></td>
<td><p>Magick Scripting Language</p></td>
<td><p>MSL is the XML-based scripting language
supported by the conjure utility.</p></td>
</tr>
<tr><td><p><a class="reference external" href="http://www.fileformat.info/format/mtv/egff.htm">MTV</a></p></td>
<td><p>RW</p></td>
<td><p>MTV Raytracing image
format</p></td>
<td></td>
</tr>
<tr><td><p>MVG</p></td>
<td><p>RW</p></td>
<td><p>Magick Vector Graphics.</p></td>
<td><p>The native GraphicsMagick vector metafile
format. A text file containing vector drawing
commands accepted by <a class="reference external" href="convert.html">convert</a>'s -draw option.</p></td>
</tr>
<tr><td><p>OTB</p></td>
<td><p>RW</p></td>
<td><p>On-the-air Bitmap</p></td>
<td></td>
</tr>
<tr><td><p>P7</p></td>
<td><p>RW</p></td>
<td><p>Xv's Visual Schnauzer
thumbnail format</p></td>
<td></td>
</tr>
<tr><td><p>PALM</p></td>
<td><p>RW</p></td>
<td><p>Palm pixmap</p></td>
<td></td>
</tr>
<tr><td><p><a class="reference external" href="http://netpbm.sourceforge.net/doc/pam.html">PAM</a></p></td>
<td><p>RW</p></td>
<td><p>Portable Arbitrary Map
format</p></td>
<td><p>Superset of PNM (PPM, PGM, PPM) raw type formats.
Supports bilevel, gray, RGB, CMYK, alpha channel.</p></td>
</tr>
<tr><td><p><a class="reference external" href="http://www.fileformat.info/format/pbm/egff.htm">PBM</a></p></td>
<td><p>RW</p></td>
<td><p>Portable bitmap format
(black and white)</p></td>
<td></td>
</tr>
<tr><td><p>PCD</p></td>
<td><p>RW</p></td>
<td><p>Photo CD</p></td>
<td><p>The maximum resolution written is 768x512 pixels
since larger images require huffman compression
(which is not supported).</p></td>
</tr>
<tr><td><p>PCDS</p></td>
<td><p>RW</p></td>
<td><p>Photo CD</p></td>
<td><p>Decode with the sRGB color tables.</p></td>
</tr>
<tr><td><p>PCL</p></td>
<td><p>W</p></td>
<td><p>HP Page Control Language</p></td>
<td><p>For output to HP laser printers.</p></td>
</tr>
<tr><td><p><a class="reference external" href="http://www.fileformat.info/format/pcx/egff.htm">PCX</a></p></td>
<td><p>RW</p></td>
<td><p>ZSoft IBM PC Paintbrush
file</p></td>
<td></td>
</tr>
<tr><td><p>PDB</p></td>
<td><p>RW</p></td>
<td><p>Palm Database ImageViewer
Format</p></td>
<td></td>
</tr>
<tr><td><p>PDF</p></td>
<td><p>RW</p></td>
<td><p>Portable Document Format</p></td>
<td><p>Requires <a class="reference external" href="http://pages.cs.wisc.edu/~ghost/">Ghostscript</a> to read.</p></td>
</tr>
<tr><td><p>PFA</p></td>
<td><p>R</p></td>
<td><p>Postscript Type 1 font
(ASCII)</p></td>
<td><p>Opening as file returns a preview image.</p></td>
</tr>
<tr><td><p>PFB</p></td>
<td><p>R</p></td>
<td><p>Postscript Type 1 font
(binary)</p></td>
<td><p>Opening as file returns a preview image.</p></td>
</tr>
<tr><td><p>PGM</p></td>
<td><p>RW</p></td>
<td><p>Portable graymap format
(gray scale)</p></td>
<td></td>
</tr>
<tr><td><p>PICON</p></td>
<td><p>RW</p></td>
<td><p>Personal Icon</p></td>
<td></td>
</tr>
<tr><td><p>PICT</p></td>
<td><p>RW</p></td>
<td><p>Apple Macintosh QuickDraw
/PICT file</p></td>
<td></td>
</tr>
<tr><td><p>PIX</p></td>
<td><p>R</p></td>
<td><p>Alias/Wavefront RLE image
format</p></td>
<td></td>
</tr>
<tr><td><p>PNG</p></td>
<td><p>RW</p></td>
<td><p>Portable Network Graphics</p></td>
<td><p>Requires libpng-1.0.2 or later, libpng-1.2.5 or
later recommended.</p></td>
</tr>
<tr><td><p>PNM</p></td>
<td><p>RW</p></td>
<td><p>Portable anymap</p></td>
<td><p>PNM is a family of formats supporting portable
bitmaps (PBM) , graymaps (PGM), and pixmaps
(PPM). There is no file format associated with
pnm itself. If PNM is used as the output format
specifier, then GraphicsMagick automatically
selects the most appropriate format to represent
the image.</p>
<p>The default is to write the binary version of
the formats. Use '-quality 0' to write the
ASCII version of the formats.</p>
</td>
</tr>
<tr><td><p>PPM</p></td>
<td><p>RW</p></td>
<td><p>Portable pixmap format
(color)</p></td>
<td></td>
</tr>
<tr><td><p>PS</p></td>
<td><p>RW</p></td>
<td><p>Adobe PostScript file</p></td>
<td><p>Requires <a class="reference external" href="http://pages.cs.wisc.edu/~ghost/">Ghostscript</a> to read.</p></td>
</tr>
<tr><td><p>PS2</p></td>
<td><p>RW</p></td>
<td><p>Adobe Level II PostScript
file</p></td>
<td><p>Requires <a class="reference external" href="http://pages.cs.wisc.edu/~ghost/">Ghostscript</a> to read.</p></td>
</tr>
<tr><td><p>PS3</p></td>
<td><p>RW</p></td>
<td><p>Adobe Level III
PostScript file</p></td>
<td><p>Requires <a class="reference external" href="http://pages.cs.wisc.edu/~ghost/">Ghostscript</a> to read.</p></td>
</tr>
<tr><td><p>PSD</p></td>
<td><p>RW</p></td>
<td><p>Adobe Photoshop bitmap
file</p></td>
<td><p>PSD format is no longer supported since the
1.3.24 release.</p></td>
</tr>
<tr><td><p>PTIF</p></td>
<td><p>RW</p></td>
<td><p>Pyramid encoded <a class="reference external" href="http://www.simplesystems.org/libtiff/">TIFF</a></p></td>
<td><p>Multi-resolution <a class="reference external" href="http://www.simplesystems.org/libtiff/">TIFF</a> containing successively
smaller versions of the image down to the size
of an icon. The desired sub-image size may be
specified when reading via the -size option.</p></td>
</tr>
<tr><td><p><a class="reference external" href="http://www.photoworks.com/">PWP</a></p></td>
<td><p>R</p></td>
<td><p>Seattle File Works
multi-image file</p></td>
<td></td>
</tr>
<tr><td><p>RAS</p></td>
<td><p>R</p></td>
<td><p><a class="reference external" href="http://www.topol.cz/english/share/index.php3">TopoL</a> (GIS)</p></td>
<td></td>
</tr>
<tr><td><p>RAD</p></td>
<td><p>R</p></td>
<td><p><a class="reference external" href="http://radsite.lbl.gov/radiance/HOME.html">Radiance</a> image file</p></td>
<td><p>Requires that ra_ppm from the <a class="reference external" href="http://radsite.lbl.gov/radiance/HOME.html">Radiance</a> software
package be installed.</p></td>
</tr>
<tr><td><p>RGB</p></td>
<td><p>RW</p></td>
<td><p>Raw red, green, and blue
samples</p></td>
<td><p>Use -size, -depth, -endian, and -interlace to
specify the image width, height, depth, byte
order, and interlace.</p></td>
</tr>
<tr><td><p>RGBA</p></td>
<td><p>RW</p></td>
<td><p>Raw red, green, and blue
and matte samples</p></td>
<td><p>Use -size, -depth, -endian, and -interlace to
specify the image width, height, depth, byte
order, and interlace.</p></td>
</tr>
<tr><td><p>RLA</p></td>
<td><p>R</p></td>
<td><p>Alias/Wavefront image
file</p></td>
<td></td>
</tr>
<tr><td><p>RLE</p></td>
<td><p>R</p></td>
<td><p>Utah Run length encoded
image file</p></td>
<td></td>
</tr>
<tr><td><p><a class="reference external" href="http://oreilly.com/www/centers/gff/formats/scitex/">SCT</a></p></td>
<td><p>R</p></td>
<td><p>Scitex Continuous Tone
Picture</p></td>
<td></td>
</tr>
<tr><td><p><a class="reference external" href="http://www.algonet.se/~cyren/sfw/">SFW</a></p></td>
<td><p>R</p></td>
<td><p>Seattle File Works image</p></td>
<td></td>
</tr>
<tr><td><p>SGI</p></td>
<td><p>RW</p></td>
<td><p>Irix RGB image</p></td>
<td></td>
</tr>
<tr><td><p>SHTML</p></td>
<td><p>W</p></td>
<td><p>Hypertext Markup Language
client-side image map</p></td>
<td><p>Used to write HTML clickable image maps based on
a the output of montage or a format which
supports tiled images such as <a class="reference external" href="miff.html">MIFF</a>.</p></td>
</tr>
<tr><td><p>SUN</p></td>
<td><p>RW</p></td>
<td><p>SUN Rasterfile</p></td>
<td></td>
</tr>
<tr><td><p><a class="reference external" href="http://www.w3.org/Graphics/SVG/">SVG</a></p></td>
<td><p>RW</p></td>
<td><p>Scalable Vector Graphics</p></td>
<td><p>Requires <a class="reference external" href="http://xmlsoft.org/">libxml2</a> and <a class="reference external" href="http://www.freetype.org/">freetype2</a>. Note that <a class="reference external" href="http://www.w3.org/Graphics/SVG/">SVG</a>
is a very complex specification so support is
still not complete.</p></td>
</tr>
<tr><td><p>TGA</p></td>
<td><p>RW</p></td>
<td><p>Truevision Targa image</p></td>
<td><p>Also known as formats &quot;ICB&quot;, &quot;VDA&quot;, and &quot;VST&quot;.</p></td>
</tr>
<tr><td><p><a class="reference external" href="http://www.simplesystems.org/libtiff/">TIFF</a></p></td>
<td><p>RW</p></td>
<td><p>Tagged Image File Format</p></td>
<td><p>Also known as &quot;TIF&quot;. Requires tiff-v3.5.4.tar.gz
or later. Note that since the Unisys LZW patent
recently expired, libtiff may still require a
separate LZW patch in order to support LZW. LZW
is included in libtiff by default since v3.7.0.</p></td>
</tr>
<tr><td><p>TIM</p></td>
<td><p>R</p></td>
<td><p>PSX TIM file</p></td>
<td></td>
</tr>
<tr><td><p>TTF</p></td>
<td><p>R</p></td>
<td><p>TrueType font file</p></td>
<td><p>Requires <a class="reference external" href="http://www.freetype.org/">freetype2</a>. Opening as file returns a
preview image.</p></td>
</tr>
<tr><td><p>TXT</p></td>
<td><p>RW</p></td>
<td><p>Raw text file</p></td>
<td></td>
</tr>
<tr><td><p>UIL</p></td>
<td><p>W</p></td>
<td><p>X-Motif UIL table</p></td>
<td></td>
</tr>
<tr><td><p>UYVY</p></td>
<td><p>RW</p></td>
<td><p>Interleaved YUV raw image</p></td>
<td><p>Use -size command line option to specify width
and height.</p></td>
</tr>
<tr><td><p>VICAR</p></td>
<td><p>RW</p></td>
<td><p>VICAR rasterfile format</p></td>
<td></td>
</tr>
<tr><td><p><a class="reference external" href="http://www.fileformat.info/format/viff/egff.htm">VIFF</a></p></td>
<td><p>RW</p></td>
<td><p>Khoros Visualization
Image File Format</p></td>
<td></td>
</tr>
<tr><td><p><a class="reference external" href="http://www.openmobilealliance.org/Technical/wapindex.aspx">WBMP</a></p></td>
<td><p>RW</p></td>
<td><p>Wireless bitmap</p></td>
<td><p>Support for uncompressed monochrome only.</p></td>
</tr>
<tr><td><p><a class="reference external" href="https://developers.google.com/speed/webp/">WebP</a></p></td>
<td><p>RW</p></td>
<td><p>Google's WebP</p></td>
<td><p>Requires libwebp from
&quot;<a class="reference external" href="https://developers.google.com/speed/webp/">https://developers.google.com/speed/webp/</a>&quot;.
WebP is good for small photos for the web and is
supported by Google's Chrome and Firefox.</p></td>
</tr>
<tr><td><p><a class="reference external" href="http://www.fileformat.info/format/wmf/egff.htm">WMF</a></p></td>
<td></td>
<td><p>Windows Metafile</p></td>
<td><p>Requires libwmf. By default, renders WMF files
using the dimensions specified by the metafile
header. Use the -density option to adjust the
output resolution, and thereby adjust the output
size. The default output resolution is 72DPI so
&quot;-density 144&quot; results in an image twice as
large as the default. Use -background <a class="reference external" href="color.html">color</a> to
specify the WMF background color (default white)
or -texture filename to specify a background
texture image.</p></td>
</tr>
<tr><td><p><a class="reference external" href="http://www.fileformat.info/format/wpg/egff.htm">WPG</a></p></td>
<td><p>R</p></td>
<td><p>Word Perfect Graphics
File</p></td>
<td></td>
</tr>
<tr><td><p><a class="reference external" href="http://www.fileformat.info/format/xbm/egff.htm">XBM</a></p></td>
<td><p>RW</p></td>
<td><p>X Windows system bitmap,
black and white only</p></td>
<td><p>Used by the X Windows System to store monochrome
icons.</p></td>
</tr>
<tr><td><p>XCF</p></td>
<td><p>R</p></td>
<td><p>GIMP image</p></td>
<td></td>
</tr>
<tr><td><p><a class="reference external" href="http://www.fileformat.info/format/xpm/egff.htm">XPM</a></p></td>
<td><p>RW</p></td>
<td><p>X Windows system pixmap</p></td>
<td><p>Also known as &quot;PM&quot;. Used by the X Windows System
to store color icons.</p></td>
</tr>
<tr><td><p><a class="reference external" href="http://www.fileformat.info/format/xwd/egff.htm">XWD</a></p></td>
<td><p>RW</p></td>
<td><p>X Windows system window
dump</p></td>
<td><p>Used by the X Windows System to save/display
screen dumps.</p></td>
</tr>
<tr><td><p>YUV</p></td>
<td><p>RW</p></td>
<td><p>CCIR 601 4:1:1</p></td>
<td><p>Use -size command line option to specify width
and height.</p></td>
</tr>
</tbody>
</table>
<p>GraphicsMagick supports a number of image format specifications which
refer to images prepared via an algorithm, or input/output targets. The
following table lists these pseudo image formats:</p>
<table>
<caption>Pseudo Image Formats</caption>
<colgroup>
<col style="width: 13%" />
<col style="width: 6%" />
<col style="width: 25%" />
<col style="width: 56%" />
</colgroup>
<tbody>
<tr><td><p>Tag</p></td>
<td><p>Mode</p></td>
<td><p>Description</p></td>
<td><p>Notes</p></td>
</tr>
<tr><td><p>CAPTION</p></td>
<td><p>R</p></td>
<td><p>Image caption</p></td>
<td><p>Draws text on a canvas image with size specified by <cite>-size</cite>
canvas color as specified by <cite>-background' (default white),
and text stroke and fill colors as specified by `-stroke</cite>
and <cite>-fill</cite>.  Capable of supporting multi-line text.</p></td>
</tr>
<tr><td><p>CLIPBOARD</p></td>
<td><p>RW</p></td>
<td><p>Windows Clipboard</p></td>
<td><p>Only available under Microsoft Windows.</p></td>
</tr>
<tr><td><p>FRACTAL</p></td>
<td><p>R</p></td>
<td><p>Plasma fractal image</p></td>
<td></td>
</tr>
<tr><td><p>GRADIENT</p></td>
<td><p>R</p></td>
<td><p>Gradual passing from
one shade to another</p></td>
<td><p>Returns a rendered gradient image using the
specified image size. Specify the desired
shading as part of the filename.  For example:</p>
<blockquote>
<p><span class="docutils literal"><span class="pre">gradient:red-blue</span></span> or <span class="docutils literal"><span class="pre">gradient:#F00-#00F</span></span></p>
</blockquote>
</td>
</tr>
<tr><td><p>HISTOGRAM</p></td>
<td><p>W</p></td>
<td><p>Histogram of the image</p></td>
<td><p>Generate an RGB histogram of the input image.
The output format is always ImageMagick <a class="reference external" href="miff.html">MIFF</a>
(regardless of file extension). For example:</p>
<blockquote>
<p><span class="docutils literal">gm convert file.tiff histogram:file.miff</span></p>
</blockquote>
</td>
</tr>
<tr><td><p>IDENTITY</p></td>
<td><p>R</p></td>
<td><p><a class="reference external" href="http://www.quelsolaar.com/technology/clut.html">Hald CLUT</a> identity
image</p></td>
<td><p>Generate a Hald CLUT identity image of a specified order.
The order is specified as an argument like &quot;IDENTITY:8&quot;.
The default order is eight, producing a 512x512 image.</p></td>
</tr>
<tr><td><p>INFO</p></td>
<td><p>W</p></td>
<td><p>Image descriptive
information and
statistics</p></td>
<td><p>Writes descriptive information similar to 'identify'</p></td>
</tr>
<tr><td><p>LABEL</p></td>
<td><p>R</p></td>
<td><p>Text image format</p></td>
<td><p>Specify the desired text as the filename (e.g.
&quot;label:This is a label&quot;).</p></td>
</tr>
<tr><td><p>MAP</p></td>
<td><p>RW</p></td>
<td><p>Colormap intensities
and indices</p></td>
<td><p>Set -depth to set the sample size of the
intensities; indices are 16-bit if colors &gt;
256.</p></td>
</tr>
<tr><td><p>MATTE</p></td>
<td><p>W</p></td>
<td><p>MATTE format</p></td>
<td><p>Write only.</p></td>
</tr>
<tr><td><p>NULL</p></td>
<td><p>RW</p></td>
<td><p>NULL image</p></td>
<td><p>Useful for creating blank tiles with montage
(use &quot;NULL:&quot;). Also useful as an output format
when evaluating image read performance.</p></td>
</tr>
<tr><td><p>PLASMA</p></td>
<td><p>R</p></td>
<td><p>Plasma fractal image</p></td>
<td><p>Creates an image using the plasma fractal. For
example:</p>
<blockquote>
<p><span class="docutils literal">gm convert <span class="pre">-size</span> 640x480 plasma: file.miff</span></p>
</blockquote>
</td>
</tr>
<tr><td><p>PREVIEW</p></td>
<td><p>W</p></td>
<td><p>Show a preview an image
enhancement, effect, or
f/x</p></td>
<td><p>Creates a preview montage of images prepared
over a parameteric range in order to assist
with parameter selection. Specify the desired
preview type via the -preview option). The
output file is always written in the
ImageMagick <a class="reference external" href="miff.html">MIFF</a> format.</p>
<p>For example:</p>
<blockquote>
<p><span class="docutils literal">gm convert file.tiff <span class="pre">-preview</span> gamma preview:file.miff</span></p>
</blockquote>
</td>
</tr>
<tr><td><p>PRINT</p></td>
<td><p>W</p></td>
<td><p>Send image to your
computer printer</p></td>
<td><p>Unix users may set the PRINTER (for 'lp') or
LPDEST (for 'lpr') environment variables to
select the desired printer.</p></td>
</tr>
<tr><td><p>SCAN</p></td>
<td><p>R</p></td>
<td><p>Import image from a
scanner device</p></td>
<td><p>Requires <a class="reference external" href="http://www.mostang.com/sane/">SANE</a> Specify the device name and path
as the filename (e.g. &quot;scan:mustek:/dev/scanner&quot;).</p></td>
</tr>
<tr><td><p>STEGANO</p></td>
<td><p>R</p></td>
<td><p>Steganographic image</p></td>
<td><p>Use -size command line option to specify width,
height, and offset of the steganographic image</p></td>
</tr>
<tr><td><p>TILE</p></td>
<td><p>R</p></td>
<td><p>Tiled image</p></td>
<td><p>Create a tiled version of an image at by tiling
a image. Use -size to specify the tiled image
size. The image is specified similar to
&quot;TILE:image.miff&quot;.
For example:</p>
<blockquote>
<p><span class="docutils literal">gm convert <span class="pre">-size</span> 800x600 tile:image.jpg out.jpg</span></p>
</blockquote>
</td>
</tr>
<tr><td><p>VID</p></td>
<td><p>RW</p></td>
<td><p>Visual Image Directory</p></td>
<td><p>Used to create a thumbnailed directory (tiled
thumbnails) of a set of images which may be
used to select images to view via the display
program, or saved to a <a class="reference external" href="miff.html">MIFF</a> or SHTML file.
For example:</p>
<blockquote>
<p><span class="docutils literal">gm convert <span class="pre">vid:&quot;*.jpg&quot;</span> index.miff</span></p>
</blockquote>
</td>
</tr>
<tr><td><p>WIN</p></td>
<td><p>RW</p></td>
<td><p>Select image from or
display image to your
computer screen</p></td>
<td><p>Only supported under Microsoft Windows. For example:</p>
<blockquote>
<p><span class="docutils literal">gm convert file.jpg <span class="pre">-rotate</span> 90 win:</span></p>
</blockquote>
</td>
</tr>
<tr><td><p>X</p></td>
<td><p>RW</p></td>
<td><p>Select image from or
display image to your X
server screen</p></td>
<td><p>Also see the import and display programs. For example:</p>
<blockquote>
<p><span class="docutils literal">gm convert file.jpg <span class="pre">-rotate</span> 90 x:</span></p>
</blockquote>
</td>
</tr>
<tr><td><p>XC</p></td>
<td><p>R</p></td>
<td><p>Canvas image of
specified color</p></td>
<td><p>Useful to create solid color &quot;canvas&quot; images.
Use -size and -depth to specify the image
width, height, and depth. Example XC color
specifications include &quot;XC:red&quot; and &quot;XC:#
FF0000&quot;.  See the <a class="reference external" href="color.html">color</a> reference for the
numeric values used for named colors.  For example:</p>
<blockquote>
<p><span class="docutils literal">gm convert <span class="pre">-size</span> 640x480 xc:red red.jpg</span></p>
</blockquote>
</td>
</tr>
</tbody>
</table>
<p>GraphicsMagick includes a number of built-in (embedded) images which may
be referenced as if they were an image file. The <span class="docutils literal">IMAGE:</span> format tag may
be used via the syntax &quot;IMAGE:name&quot; to request an embedded image (e.g.
<span class="docutils literal">IMAGE:LOGO</span>). For backwards compatibility, the image specifications
<span class="docutils literal">GRANITE:</span>, <span class="docutils literal">LOGO:</span>, <span class="docutils literal">NETSCAPE:</span>, and <span class="docutils literal">ROSE:</span> may also be used to request
images with those names.</p>
<p>A new canvas image of a specified size may be created using one of these pattern
images using a command similar to:</p>
<pre class="literal-block">gm convert -size 640x480 PATTERN:BRICKS bricks.miff</pre>
<p>The TILE: virtual image type may also be used similar to:</p>
<pre class="literal-block">gm convert -size 640x480 TILE:IMAGE:BRICKS bricks.miff</pre>
<table>
<caption>Built-In Images And Patterns</caption>
<colgroup>
<col style="width: 22%" />
<col style="width: 37%" />
<col style="width: 41%" />
</colgroup>
<tbody>
<tr><td><p>Name</p></td>
<td><p>Description</p></td>
<td><p>Notes/Sample</p></td>
</tr>
<tr><td><p>BRICKS</p></td>
<td><p>16x16 brick pattern</p></td>
<td><p><img alt="bricks" src="images/patterns/bricks.png" /></p></td>
</tr>
<tr><td><p>CHECKERBOARD</p></td>
<td><p>30x30 checkerboard pattern</p></td>
<td><p><img alt="checkerboard" src="images/patterns/checkerboard.png" /></p></td>
</tr>
<tr><td><p>CIRCLES</p></td>
<td><p>16x16 circles pattern</p></td>
<td><p><img alt="circles" src="images/patterns/circles.png" /></p></td>
</tr>
<tr><td><p>CROSSHATCH</p></td>
<td><p>8x4 crosshatch pattern</p></td>
<td><p><img alt="crosshatch" src="images/patterns/crosshatch.png" /></p></td>
</tr>
<tr><td><p>CROSSHATCH30</p></td>
<td><p>8x4 crosshatch pattern with lines
at 30 degrees.</p></td>
<td><p><img alt="crosshatch30" src="images/patterns/crosshatch30.png" /></p></td>
</tr>
<tr><td><p>CROSSHATCH45</p></td>
<td><p>8x4 crosshatch pattern with lines
at 45 degrees.</p></td>
<td><p><img alt="crosshatch45" src="images/patterns/crosshatch45.png" /></p></td>
</tr>
<tr><td><p>FISHSCALES</p></td>
<td><p>16x8 fish scales pattern</p></td>
<td><p><img alt="fishscales" src="images/patterns/fishscales.png" /></p></td>
</tr>
<tr><td><p>GRANITE</p></td>
<td><p>128x128 granite texture pattern</p></td>
<td><p><img alt="granite" src="images/patterns/granite.png" /></p></td>
</tr>
<tr><td><p>GRAY0</p></td>
<td><p>32x32 0% intensity gray</p></td>
<td><p><img alt="gray0" src="images/patterns/gray0.png" /></p></td>
</tr>
<tr><td><p>GRAY5</p></td>
<td><p>32x32 5% intensity gray</p></td>
<td><p><img alt="gray5" src="images/patterns/gray5.png" /></p></td>
</tr>
<tr><td><p>GRAY10</p></td>
<td><p>32x32 10% intensity gray</p></td>
<td><p><img alt="gray10" src="images/patterns/gray10.png" /></p></td>
</tr>
<tr><td><p>GRAY15</p></td>
<td><p>32x32 15% intensity gray</p></td>
<td><p><img alt="gray15" src="images/patterns/gray15.png" /></p></td>
</tr>
<tr><td><p>GRAY20</p></td>
<td><p>32x32 20% intensity gray</p></td>
<td><p><img alt="gray20" src="images/patterns/gray20.png" /></p></td>
</tr>
<tr><td><p>GRAY25</p></td>
<td><p>32x32 25% intensity gray</p></td>
<td><p><img alt="gray25" src="images/patterns/gray25.png" /></p></td>
</tr>
<tr><td><p>GRAY30</p></td>
<td><p>32x32 30% intensity gray</p></td>
<td><p><img alt="gray30" src="images/patterns/gray30.png" /></p></td>
</tr>
<tr><td><p>GRAY35</p></td>
<td><p>32x32 35% intensity gray</p></td>
<td><p><img alt="gray35" src="images/patterns/gray35.png" /></p></td>
</tr>
<tr><td><p>GRAY40</p></td>
<td><p>32x32 40% intensity gray</p></td>
<td><p><img alt="gray40" src="images/patterns/gray40.png" /></p></td>
</tr>
<tr><td><p>GRAY45</p></td>
<td><p>32x32 45% intensity gray</p></td>
<td><p><img alt="gray45" src="images/patterns/gray45.png" /></p></td>
</tr>
<tr><td><p>GRAY50</p></td>
<td><p>32x32 50% intensity gray</p></td>
<td><p><img alt="gray50" src="images/patterns/gray50.png" /></p></td>
</tr>
<tr><td><p>GRAY55</p></td>
<td><p>32x32 55% intensity gray</p></td>
<td><p><img alt="gray55" src="images/patterns/gray55.png" /></p></td>
</tr>
<tr><td><p>GRAY60</p></td>
<td><p>32x32 60% intensity gray</p></td>
<td><p><img alt="gray60" src="images/patterns/gray60.png" /></p></td>
</tr>
<tr><td><p>GRAY65</p></td>
<td><p>32x32 65% intensity gray</p></td>
<td><p><img alt="gray65" src="images/patterns/gray65.png" /></p></td>
</tr>
<tr><td><p>GRAY70</p></td>
<td><p>32x32 70% intensity gray</p></td>
<td><p><img alt="gray70" src="images/patterns/gray70.png" /></p></td>
</tr>
<tr><td><p>GRAY75</p></td>
<td><p>32x32 75% intensity gray</p></td>
<td><p><img alt="gray75" src="images/patterns/gray75.png" /></p></td>
</tr>
<tr><td><p>GRAY80</p></td>
<td><p>32x32 80% intensity gray</p></td>
<td><p><img alt="gray80" src="images/patterns/gray80.png" /></p></td>
</tr>
<tr><td><p>GRAY85</p></td>
<td><p>32x32 85% intensity gray</p></td>
<td><p><img alt="gray85" src="images/patterns/gray85.png" /></p></td>
</tr>
<tr><td><p>GRAY90</p></td>
<td><p>32x32 90% intensity gray</p></td>
<td><p><img alt="gray90" src="images/patterns/gray90.png" /></p></td>
</tr>
<tr><td><p>GRAY95</p></td>
<td><p>32x32 95% intensity gray</p></td>
<td><p><img alt="gray95" src="images/patterns/gray95.png" /></p></td>
</tr>
<tr><td><p>GRAY100</p></td>
<td><p>32x32 100% intensity gray</p></td>
<td><p><img alt="gray100" src="images/patterns/gray100.png" /></p></td>
</tr>
<tr><td><p>HEXAGONS</p></td>
<td><p>30x18 hexagon pattern</p></td>
<td><p><img alt="hexagons" src="images/patterns/hexagons.png" /></p></td>
</tr>
<tr><td><p>HORIZONTAL</p></td>
<td><p>8x4 horizontal line pattern</p></td>
<td><p><img alt="horizontal" src="images/patterns/horizontal.png" /></p></td>
</tr>
<tr><td><p>HORIZONTALSAW</p></td>
<td><p>16x8 horizontal saw-tooth pattern</p></td>
<td><p><img alt="horizontalsaw" src="images/patterns/horizontalsaw.png" /></p></td>
</tr>
<tr><td><p>HS_BDIAGONAL</p></td>
<td><p>8x8 backward diagonal line pattern
(45 degrees slope)</p></td>
<td><p><img alt="hs_bdiagonal" src="images/patterns/hs_bdiagonal.png" /></p></td>
</tr>
<tr><td><p>HS_CROSS</p></td>
<td><p>8x8 cross line pattern</p></td>
<td><p><img alt="hs_cross" src="images/patterns/hs_cross.png" /></p></td>
</tr>
<tr><td><p>HS_DIAGCROSS</p></td>
<td><p>8x8 diagonal line cross pattern
(45 degrees slope)</p></td>
<td><p><img alt="hs_diagcross" src="images/patterns/hs_diagcross.png" /></p></td>
</tr>
<tr><td><p>HS_FDIAGONAL</p></td>
<td><p>8x8 forward diagonal line pattern
(45 degrees slope)</p></td>
<td><p><img alt="hs_fdiagonal" src="images/patterns/hs_fdiagonal.png" /></p></td>
</tr>
<tr><td><p>HS_HORIZONTAL</p></td>
<td><p>8x8 horizontal line pattern</p></td>
<td><p><img alt="hs_horizontal" src="images/patterns/hs_horizontal.png" /></p></td>
</tr>
<tr><td><p>HS_VERTICAL</p></td>
<td><p>8x8 vertical line pattern</p></td>
<td><p><img alt="hs_vertical" src="images/patterns/hs_vertical.png" /></p></td>
</tr>
<tr><td><p>LEFT30</p></td>
<td><p>8x4 forward diagonal pattern (30
degrees slope)</p></td>
<td><p><img alt="left30" src="images/patterns/left30.png" /></p></td>
</tr>
<tr><td><p>LEFT45</p></td>
<td><p>8x8 forward diagonal line pattern
(45 degrees slope)</p></td>
<td><p><img alt="left45" src="images/patterns/left45.png" /></p></td>
</tr>
<tr><td><p>LEFTSHINGLE</p></td>
<td><p>24x24 left shingle pattern</p></td>
<td><p><img alt="leftshingle" src="images/patterns/leftshingle.png" /></p></td>
</tr>
<tr><td><p>LOGO</p></td>
<td><p>640x480, GraphicsMagick Logo</p></td>
<td><p><img alt="logo" src="images/gm-125x80t.png" /></p></td>
</tr>
<tr><td><p>NETSCAPE</p></td>
<td><p>216x144 image using colors in
Netscape 216 (6x6x6 ) color cube.</p></td>
<td><p>Most commonly used with the
<a class="reference external" href="convert.html">convert</a>/<a class="reference external" href="mogrify.html">mogrify</a> -map option to
create <em>web safe</em> images.</p></td>
</tr>
<tr><td><p>OCTAGONS</p></td>
<td><p>16x16 octagons pattern</p></td>
<td><p><img alt="octagons" src="images/patterns/octagons.png" /></p></td>
</tr>
<tr><td><p>RIGHT30</p></td>
<td><p>8x4 backward diagonal line pattern
(30 degrees)</p></td>
<td><p><img alt="right30" src="images/patterns/right30.png" /></p></td>
</tr>
<tr><td><p>RIGHT45</p></td>
<td><p>8x8 backward diagonal line pattern
(30 degrees)</p></td>
<td><p><img alt="right45" src="images/patterns/right45.png" /></p></td>
</tr>
<tr><td><p>RIGHTSHINGLE</p></td>
<td><p>24x24 right shingle pattern</p></td>
<td><p><img alt="rightshingle" src="images/patterns/rightshingle.png" /></p></td>
</tr>
<tr><td><p>ROSE</p></td>
<td><p>70x46, Picture of a rose.</p></td>
<td><p><img alt="rose" src="images/patterns/rose.png" /></p></td>
</tr>
<tr><td><p>SMALLFISHSCALES</p></td>
<td><p>8x8 small fish scales pattern</p></td>
<td><p><img alt="smallfishscales" src="images/patterns/smallfishscales.png" /></p></td>
</tr>
<tr><td><p>VERTICAL</p></td>
<td><p>8x8 vertical line pattern</p></td>
<td><p><img alt="vertical" src="images/patterns/vertical.png" /></p></td>
</tr>
<tr><td><p>VERTICALBRICKS</p></td>
<td><p>16x16 vertical brick pattern</p></td>
<td><p><img alt="verticalbricks" src="images/patterns/verticalbricks.png" /></p></td>
</tr>
<tr><td><p>VERTICALLEFTSHINGLE</p></td>
<td><p>24x24 vertical left shingle
pattern</p></td>
<td><p><img alt="verticalleftshingle" src="images/patterns/verticalleftshingle.png" /></p></td>
</tr>
<tr><td><p>VERTICALRIGHTSHINGLE</p></td>
<td><p>24x24 vertical right shingle
pattern</p></td>
<td><p><img alt="verticalrightshingle" src="images/patterns/verticalrightshingle.png" /></p></td>
</tr>
<tr><td><p>VERTICALSAW</p></td>
<td><p>8x16 vertical saw-tooth pattern</p></td>
<td><p><img alt="verticalsaw" src="images/patterns/verticalsaw.png" /></p></td>
</tr>
</tbody>
</table>
<p>GraphicsMagick provides a number of format identifiers which are used
to add, remove, and save embedded profiles for images which can
support embedded profiles. Image types which may contain embedded
profiles are <a class="reference external" href="http://www.simplesystems.org/libtiff/">TIFF</a>, <a class="reference external" href="http://www.jpeg.org/">JPEG</a>, PDF, and PNG.</p>
<table>
<caption>Supported Embedded Profile Formats</caption>
<colgroup>
<col style="width: 19%" />
<col style="width: 6%" />
<col style="width: 27%" />
<col style="width: 48%" />
</colgroup>
<tbody>
<tr><td><p>Format</p></td>
<td><p>Mode</p></td>
<td><p>Description</p></td>
<td><p>Notes</p></td>
</tr>
<tr><td><p>8BIM</p></td>
<td><p>RW</p></td>
<td><p>Photoshop resource format
(binary)</p></td>
<td></td>
</tr>
<tr><td><p>8BIMTEXT</p></td>
<td><p>RW</p></td>
<td><p>Photoshop resource format
(ASCII)</p></td>
<td><p>An ASCII representation of the 8BIM format.</p></td>
</tr>
<tr><td><p>APP1</p></td>
<td><p>RW</p></td>
<td><p>Raw application
information</p></td>
<td></td>
</tr>
<tr><td><p>APP1JPEG</p></td>
<td><p>RW</p></td>
<td><p>Raw <a class="reference external" href="http://www.jpeg.org/">JPEG</a> binary data</p></td>
<td><p>Profile in <a class="reference external" href="http://www.jpeg.org/">JPEG</a> wrapper.</p></td>
</tr>
<tr><td><p>ICC</p></td>
<td><p>RW</p></td>
<td><p>International Color
Consortium color profile</p></td>
<td><p>Also known as &quot;ICM&quot;. To read, use -profile with
convert.</p></td>
</tr>
<tr><td><p>IPTC</p></td>
<td><p>RW</p></td>
<td><p>IPTC Newsphoto (binary)</p></td>
<td><p>To read, use -profile with convert</p></td>
</tr>
<tr><td><p>IPTCTEXT</p></td>
<td><p>RW</p></td>
<td><p>IPTC Newsphoto (ASCII)</p></td>
<td><p>An ASCII representation of the IPTC format.</p></td>
</tr>
</tbody>
</table>
<p>Support for some of the formats are delegated to libraries or external
programs. The README describes where to find these distributions and
any special configuration options required.</p>
<p>To get a complete listing of the image formats which are supported on
your system, type</p>
<pre class="literal-block">gm convert -list format</pre>
<p>On some platforms, GraphicsMagick automatically processes these
extensions: .gz for Zip compression, .Z for Unix compression, and .bz2
for block compression. For example, a PNM image called image.pnm.gz is
automatically uncompressed while the image is read.</p>
</main>


<hr class="docutils">
<div class="document">
    <p><a href="Copyright.html">Copyright</a> © GraphicsMagick Group 2002-2025<!--SPONSOR_LOGO--></p>
</div>

</main>
</body>
</html>
